{% extends "layout/main.html" %}
{% load i18n %}

{% block content %}
<h2>{% trans "Create sport" %}</h2>
<form method="POST" action=". ">
{% if name_not_unique %}
<p class="error">{% trans "A sport already exist with this name" %}</p>
{% endif %}
<ul>
 {{ form.as_ul }}
  <li><input type="submit" value="{% trans "Create the sport metrics" %}" /></li>
</ul>
</form>
{% endblock %}
